$(function(){
  

             $.ajax({
                    url:'http://192.168.23.25:3000/api/getindexmenu',
                    type:'get',
                    data:{},
                    dataType:'jsonp',
                    success:function(data){
                        var html = template('list',data);
                        $('#lists').html(html);
                    }
                });
             
             $.ajax({
                    url:'http://192.168.23.25:3000/api/getmoneyctrl',
                    type:'get',
                    data:{},
                    dataType:'jsonp',
                    success:function(data){
                        var html = template('details',data);
                        $('#details_cont').html(html);
                    }
                });
        });
